package com.jenkinstest.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.HashMap;
import java.util.Map;

/**
 * @author admin
 * @date 2023/3/17 17:45
 */
@RestController
@RequestMapping("/jenkins")
public class JenkinsController {

    @RequestMapping("/test")
    public Object test() {
        Map<String, Object> map = new HashMap<>();
        map.put("code", "200");
        map.put("msg", "success");
        map.put("data", "哈哈哈哈");

        return map;
    }
}
